package src.lab02.test01.Test14;

public class Rectangle extends  Shape {
    //属性
    double length;
    double width;
    @Override
    //行为
    void getArea() {
        System.out.println("矩形面积为"+length*width);
    }
}
